<html>
<head>
<title>Add member_imore</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link media="all" href="/cms/css/cms.min.css" type="text/css" rel="stylesheet" /> 
<link rel="stylesheet" type="text/css" href="/cms/css/tag/token-input.css" />
<script  type="text/javascript" src="/cms/js/cms.1.1.min.js"></script>
<script type="text/javascript" src="/cms/js/tag/jquery.tokeninput.js"></script> 
<script language="JavaScript" src="/cms/js/cleditor/jquery.cleditor.min.js"></script>
<script language="JavaScript" src="/cms/js/jquery.validate.js"></script>
<script language="JavaScript" src="/cms/js/autocomplete/textarea.js"></script>

</head>

<body>
{#include file="$navigation"#}
<div style="float:right;" id="login"></div>

<script>
$(document).ready(function() {	

});	
  function validate_form(form){
	  if (validator.form())  form.submit(); else alert('Some fields has error. Please check and resubmit');
  }
</script>

<H1><span id="parent_key_label"></span>Member imore</H1>
<form name="form_showadd" method="post" id="form_showadd" action="{#$self_url#}" >	
<div class='tableWrapper' style="width:100%;margin:0;padding:0;">
  <div class='tableHeader' >

	<ul class="tableActions">
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存並新增 " onclick="form.subaction.value='showadd_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " size="3" onclick="javascript:window.location.href='{#$self_url#}/list'" type="button"></li>
	</ul>

  <div class='clear'></div>
  <div class='corner left'></div>
  <div class='corner right'></div>
  </div>	
<table border="0" cellspacing='0' >

<tr id="tr_username"><td><B>username</B></td>
<td id="td_username">{#$showadd_data.username#}</td></tr>
<tr id="tr_member_type"><td><B>會員分類</B></td>
<td id="td_member_type">{#$showadd_data.member_type#}&nbsp;&nbsp;系統自動設定，如非必要，請勿修改。</td></tr>
<tr id="tr_email"><td><B>email</B></td>
<td id="td_email"><input id="field_email" type="text" name="email" value=""></td></tr>
<tr id="tr_regip"><td><B>regip</B></td>
<td id="td_regip"><input id="field_regip" type="text" name="regip" value=""></td></tr>
<tr id="tr_phone"><td><B>phone</B></td>
<td id="td_phone"><input id="field_phone" type="text" name="phone" value=""></td></tr>
<tr id="tr_expert_approval"><td><B>expert_approval</B></td>
<td id="td_expert_approval">{#$showadd_data.expert_approval#}</td></tr>
<tr id="tr_acttime"><td><B>acttime</B></td>
<td id="td_acttime"><input id="field_acttime" type="text" name="acttime" value=""></td></tr>
<tr id="tr_salutation"><td><B>稱謂</B></td>
<td id="td_salutation">{#$showadd_data.salutation#}</td></tr>
<tr id="tr_birthday"><td><B>birthday</B></td>
<td id="td_birthday"><input id="field_birthday" type="text" name="birthday" value=""></td></tr>
<tr id="tr_idcard"><td><B>idcard</B></td>
<td id="td_idcard"><input id="field_idcard" type="text" name="idcard" value=""></td></tr>
<tr id="tr_email_receive"><td><B>email_receive</B></td>
<td id="td_email_receive">{#$showadd_data.email_receive#}</td></tr>
<tr id="tr_expert_application_reject_type"><td><B>expert_application_reject_type</B></td>
<td id="td_expert_application_reject_type">{#$showadd_data.expert_application_reject_type#}</td></tr>

  <tr>
    <td>&nbsp;</td>
    <td>
     	
    <input type="hidden" name="action" value="add"><input name="subaction" type="hidden">
     <ul class="tableActions">
    <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存並新增 " onclick="form.subaction.value='showadd_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " size="3" onclick="javascript:window.location.href='{#$self_url#}/list'" type="button"></li>
    </ul>
  </td>
  </tr>
</table>

</form>

<script type="text/javascript"> 	
$(function(){
  $(".tips").tipTip({defaultPosition: "right", edgeOffset: 10});
}); 
</script>

<!--POSTRUNJS-->
</body>
</html>
